package com.smedi.ismedi.progress.core.application.query;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smedi.ismedi.progress.core.domain.aggregatemodel.MilestoneProgressDetail;
import com.smedi.ismedi.progress.core.domain.aggregatemodel.Progress;
import com.smedi.ismedi.progress.core.domain.aggregatemodel.ProgressDetail;
import com.smedi.ismedi.progress.core.port.adapter.persistence.model.ProgressDetailEntity;
import com.smedi.ismedi.progress.core.port.adapter.persistence.model.ProgressEntity;
import com.smedi.ismedi.web.starter.common.PaginationData;
import com.smedi.ismedi.web.starter.common.ResponseData;

import java.util.List;

/**
 * 进度计划查询服务
 *
 * @author liaojiajie
 * @date 2021/09/19
 */
public interface MilestoneQueryService {
    /** 查询  milestone详情
     * @param projectId
     * @return java.util.List<com.smedi.ismedi.progress.core.port.adapter.persistence.model.ProgressDetailEntity>
     * @date 2022/9/20 17:29
     */
    List<MilestoneProgressDetail> getMilestoneList(Long projectId);

    /**
    * 查询 milestone 分页
    * @param offset
    * @param pageSize
    * @param projectId
    * @param projectManager
    * @param mainCourtyard
    * @param status
    * @param projectCategory
    * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<com.smedi.ismedi.progress.core.port.adapter.persistence.model.ProgressEntity>
    * @date 2022/9/20 17:56
    */
    Page<Progress> getMilestonePage(Long offset, Long pageSize, Long hrOrganizationId,Integer projectId, String projectManager, Integer mainCourtyard, Integer status, String projectCategory,String projectName);
}

